<template>
	<view class="app">
		<view class="app-container">
			<view class="text-gray margin-bottom margin-lr">请选择反馈类型</view>
			<view class="cu-list menu">
				<!-- <view class="cu-item arrow" @tap="feedback('/user-pages/feedbackOrderType')">
					<view class="content">订单退款</view>
				</view> -->
				<view class="cu-item arrow">
					<view class="content">
						<button open-type="feedback" class="no-button">BUG反馈</button>
					</view>
				</view>
				<view class="cu-item arrow" @tap="feedback('/user-pages/feedbackDetail')">
					<view class="content">
						打印问题反馈
					</view>
				</view>
				<view class="cu-item arrow">
					<view class="content">
						<button open-type="contact" class="no-button">客服反馈</button>
					</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				list: [
					{ name: '订单反馈'},
					{ name: 'BUG反馈'},
					{ name: '打印反馈'},
				]
			}
		},
		methods: {
			feedback(route) {
				uni.navigateTo({
					url: route,
					success: res => {},
					fail: () => {},
					complete: () => {}
				});
			}
		}
	}
</script>

<style lang="scss" scoped>
	.app {
		background: #f8f8f8;
		.app-container {
			width: 100%;
		}
	}
	.no-button {
		background-color: white;
		padding: 0;
		font-size: 30rpx;
		line-height: 1.6em;
		text-align: left;
		&::after {
			content: none;
		}
	}
</style>
